
package hk.ces.oxfam.patch.db.result;

/**
 *
 * @author ReutyCheng
 */
public class ExcuteResult
{
  private int resultCount;
  private ExcuteStatus excuteStatus;

  public ExcuteResult()
  {
  }

  public ExcuteResult(int resultCount, ExcuteStatus excuteStatus)
  {
    this.resultCount = resultCount;
    this.excuteStatus = excuteStatus;
  }

  public ExcuteStatus getExcuteStatus()
  {
    return excuteStatus;
  }

  public void setExcuteStatus(ExcuteStatus excuteStatus)
  {
    this.excuteStatus = excuteStatus;
  }

  public int getResultCount()
  {
    return resultCount;
  }

  public void setResultCount(int resultCount)
  {
    this.resultCount = resultCount;
  }

  @Override
  public String toString()
  {
    return this.getExcuteStatus() + " : " + this.getResultCount();
  }
}
